package iconSwingStates.Transitions.TransitionOnTag;

import iconSwingStates.StateMachine.SMIconStateMachine;

/**
 * TRelease represents the transition fired by a released button over a given tag
 * @author uribe-gaget
 *
 */
public class TReleaseOnTag  extends TActionOnTag{


	/**
	 * Default constructor
	 * @param nomTransition name of the transition
	 * @param pointer Name of the pointer
	 * @param obligatory True if the slot must be connected
	 * @param outputState The output state
	 */
	public TReleaseOnTag(String nomTransition, String pointer, boolean obligatory,String outputState) {
		super(nomTransition,pointer, SMIconStateMachine.BOOLEAN,obligatory,outputState);
	}
	
	/**
	 * Constructor with more than one slot
	 * @param nomTransition name of the transition
	 * @param pointer Name of the pointer
	 * @param type Type of the slot
	 * @param obligatory True if the slot must be connected
	 * @param synchro True if the slots activity must be synchronized
	 * @param tag The tag
	 * @param outputState The output state
	 */
	public TReleaseOnTag(String nomTransition,  String pointer,int[] type, boolean obligatory,
			boolean synchro, String tag, String outputState) {
		super(nomTransition, pointer, type, obligatory, synchro, tag, outputState);
	}

	/**
	 * Constructor with a slot different from boolean
	 * @param nomTransition name of the transition
	 * @param pointer Name of the pointer
	 * @param type Type of the slot
	 * @param obligatory True if the slot must be connected
	 * @param tag The tag
	 * @param outputState The output state
	 */
	public TReleaseOnTag(String nomTransition,String pointer, int type, boolean obligatory,
			String tag,  String outputState) {
		super(nomTransition, pointer, type, obligatory, tag, outputState);
	}
	/**
	 * Constructor with a slot different from boolean
	 * @param nomTransition name of the transition
	 * @param pointer Name of the pointer
	 * @param type Type of the slot
	 * @param obligatory True if the slot must be connected
	 * @param tag The tag
	 */
	public TReleaseOnTag(String nomTransition, String pointer, int type, boolean obligatory,
			String tag) {
		super(nomTransition, pointer, type, obligatory, tag);
	}
	/**
	 * Constructor with more than one slot
	 * @param nomTransition name of the transition
	 * @param pointer Name of the pointer
	 * @param type Type of the slot
	 * @param obligatory True if the slot must be connected
	 * @param synchro True if the slots activity must be synchronized
	 * @param tag The tag
	 */
	public TReleaseOnTag(String nomTransition, String pointer, int[] type, boolean obligatory,boolean synchro, String tag) {
		super(nomTransition, pointer, type, obligatory, synchro, tag);
	}

}
